import axios from '@/libs/request/axios'

export const getLprListData = (params) => {
    return axios.request({
        url: '/product/lpr/getLprListData',
        method: 'POST',
        data: params
    })
}

export function save(obj) {
    return axios.request({
        url: '/product/lpr/save',
        method: 'POST',
        data: obj
    })
}

// 删除用户
export const deletelpr = (id, params) => {
    return axios.request({
        url: `/product/lpr/delete/${id}`,
        params: params,
        method: 'delete'
    })
}

//获取最新的LPR利率
export const getLprNew = (params) => {
    return axios.request({
        url: '/product/lpr/getLprNew',
        method: 'POST',
        data: params
    })
}
